package cn.edu.swpu.cins.u_chain.backend.dao;

import cn.edu.swpu.cins.u_chain.frontend.entity.persistence.project.*;
import cn.edu.swpu.cins.u_chain.frontend.entity.persistence.user.student.SkillLevel;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface BackendProjectDao {
    int addSkillLevel(SkillLevel skillLevel);
    List<SkillLevel> selectAllSkillLevel();
    int updateSkillLevel(int skillLevelId);
    int deleteSkillLevel(int skillLevelId);

    int addProStatus(ProStatusInfo proStatusInfo);
    List<ProStatusInfo> selectAllProStatus();
    int updateProStatus(int proStatusId);
    int deleteProStatus(int proStatusId);

    int addProField(ProField proField);
    List<ProField> selectAllProField();
    int updateProField(int proField);
    int deleteProfield(int proField);

    int addProKind(ProKindNameInfo proKindNameInfo);
    List<ProKindNameInfo> selectAllProKindName();
    int updateProKindName(int proKindNameId);
    int deleteProKindName(int prokindNameId);

    int addAssessLevel(ProAssessLevel assessLevel);
    List<ProAssessLevel> selectAllProAssessLevel();
    int updateProAssessLevel(int proAssessLevelId);
    int deleteProAssessLevel(int proAssessLevelId);

    int addProAcceptStandard(ProStandard proStandard);
    List<ProStandard> selectAllProStandard();
    int updateProStandard(int proStandardId);
    int deleteProStandard(int proStandardId);

    int addProStage(ProStageInfo proStageInfo);
    List<ProStageInfo> selectAllProStage();
    int updateProStage(int proStageId);
    int deleteProStage(int proStageId);
}
